package com.youlai.boot.factory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.Customers;
import com.youlai.boot.factory.model.query.CustomersQuery;
import com.youlai.boot.factory.model.vo.CustomersVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 客户Mapper接口
 *
 * @author youlaitech
 * @since 2025-07-06 00:42
 */
@Mapper
public interface CustomersMapper extends BaseMapper<Customers> {

    /**
     * 获取客户分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<CustomersVO>} 客户分页列表
     */
    Page<CustomersVO> getCustomersPage(Page<CustomersVO> page, CustomersQuery queryParams);

}
